package com.loto.insurance.oem.web.db.mapper;

import java.util.List;
import java.util.Map;

import com.loto.insurance.oem.web.entity.PolicyInfo;

public interface PolicyInfoMapper {

  long findAllPoliciesByCustPagerCount(Map<String, Object> params);

  List<PolicyInfo> findAllPoliciesByCustPager(Map<String, Object> params);

  PolicyInfo findCanCanceledPolicyByNo(Map<String, Object> params);

  long findAllPoliciesPagerCount(Map<String, Object> params);

  List<PolicyInfo> findAllPoliciesPager(Map<String, Object> params);

  // 问题保单list
  long findProblemPoliciesByCustPagerCount(long custId);

  List<PolicyInfo> findProblemPoliciesByCustPager(Map<String, Object> params);

  // 查看问题保单问题描述
  String findLastestFlowByIdType(Map<String, Object> params);
}
